T861: add secure boot support - #1223
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository YAML (base), Central YAML (inherited), Organization UI (inherited) Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (4)
🔗 Linked repositories identifiedCodeRabbit considers these linked repositories for cross-repo context during reviews:
📜 Recent review details⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
🧰 Additional context used📓 Path-based instructions (2)**/*.py📄 CodeRabbit inference engine (AGENTS.md)
Files:
.github/workflows/**⚙️ CodeRabbit configuration file
Files:
🪛 zizmor (1.25.2).github/workflows/trigger_rebuild_packages.yml[info] 240-240: code injection via template expansion (template-injection): may expand into attacker-controllable code (template-injection) 🔍 Remote MCPAdditional Context for PR ReviewContext on VyOS Secure Boot Initiative (T861)Initial UEFI Secure Boot support is available (T861), and VyOS uses shim from Debian 12 (Bookworm), which is properly signed by the UEFI Secure Boot key from Microsoft. However, there is yet no signed version of shim for VyOS, thus we provide no signed image for secure boot yet. The rolling images are currently not yet secure boot signed. VyOS is in the design and validation phase to determine how to accomplish this from a CI/CD perspective in a secure way. What the Shim-Signed Package DoesShim is a trivial EFI application that attempts to open and execute another application. If standard EFI calls fail because Secure Boot is enabled and the binary is not signed with an appropriate key, it validates the binary against a built-in certificate. If this succeeds and the binary or signing key are not forbidden, shim relocates and executes the binary. Current VyOS Secure Boot ImplementationCurrently, there is no signed version of shim for VyOS. If you want Secure Boot support, you can build a custom image with your own keys. During image installation, you install your MOK (Machine Owner Key) into the UEFI variables to add trust to this key. Key Technical Considerations for Reviewers
Related Commits for ContextThe task includes several related commits for dependency management and CLI integration:
[::web_search::] 🔇 Additional comments (5)
📝 WalkthroughSummary by CodeRabbit
WalkthroughAdds a Changesshim-signed package onboarding
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches✨ Simplify code
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
sever-sever
left a comment
There was a problem hiding this comment.
Add shim binaries for secure boot.
I wonder if we can dehardcode the amd64 architect in the future.
Change summary
Produce CI builds for VyOS shim-signed package.
Types of changes
Related Task(s)
Related PR(s)
How to test / Smoketest result
Checklist: